#include "dyn_quad_qGauss2.h"

qGauss2::qGauss2(Functor &_func, double _a, double _b)
    : qGauss(_func,_a,_b)
{
    populateVectors();
}

void qGauss2::populateVectors()
{
    weights.set_size(2);
    abscissas.set_size(2);

    weights(0) = w1;
    weights(1) = w1;

    abscissas(0) = -x1;
    abscissas(1) = x1;
}

